from django.urls import path
from . import views


app_name = 'paper'

urlpatterns = [
    path('teacher_index',views.teacher_index,name = 'teacher_index'),    #链接指向选择题型、题数、分数的页面
    path('student_detail',views.student_detail,name = 'student_detail'),
    path('student_index',views.student_index,name = 'student_index'),
    path('index_yunsuan/',views.index_yunsuan,name = 'index_yunsuan'),    #链接指向运算视图，然后渲染题目
    path('batch/',views.batch,name = 'batch'),
    path('batch_detail/<int:pk>/',views.batch_detail,name = 'batch_detail'),
    path('save_batch',views.save_batch,name = 'save_batch'),
    path('batch_show/<int:paper_id>/',views.batch_show,name = 'batch_show'),
    path('dati/',views.dati,name = 'dati'),
    path('paper_show',views.paper_show,name = 'paper_show'),
    path('paper_remove',views.paper_remove,name = 'paper_remove'),
    path('dati_tijiao_info/',views.dati_tijiao_info,name = 'dati_tijiao_info'),
    path('info_jiekou/',views.info_jiekou,name = 'info_jiekou'),
    path('info_jiekou_yunsuan/',views.info_jiekou_yunsuan,name = 'info_jiekou_yunsuan'),
    path('random_default_paper/',views.random_default,name = 'random_default'),
    ]
